﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AVCUMPlatform.DingTalkService.Model
{
   public class DingRes
    {
        public int errcode { get; set; }
        public string errmsg { get; set; }
        public Result result { get; set; }
    }
    public class Result
    {
        public bool has_more { get; set; }
        public List<DingTalkUser> list { get; set; }
    }
    public class DingDepartment:DingRes
    {
        public List<Department> department { get; set; }
    }
    public class Department
    {
        public string name { get; set; }
        public int id { get; set; }
        public int parentid { get; set; }
    }
    public class DingUser : DingRes
    {
        public List<DingTalkUser> userlist { get; set; }
    }
    public class DingTalkUser
    {
       public string userid { get; set; }
        public string name { get; set; }
        public string mobile { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string job_number { get; set; }
    }
}
